/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.service.impl;

import com.seari.bean.MaterialCaregoryAttrVaule;
import com.seari.mapper.MaterialCaregoryAttrValueMapper;
import com.seari.service.MaterialCaregoryAttrValueService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *
 * @author whl
 */
@Service("materialCaregoryAttrValueService")
public class MaterialCaregoryAttrValueServiceImpl implements MaterialCaregoryAttrValueService
{
    @Autowired
    private MaterialCaregoryAttrValueMapper materialCaregoryAttrValueMapper;

    @Override
    public int addMcAttrValueBatch(List<MaterialCaregoryAttrVaule> materialCaregoryValueAttrList) {
        return materialCaregoryAttrValueMapper.addMcAttrValueBatch(materialCaregoryValueAttrList);
    }

    @Override
    public List<Map<String, String>> getDeviceAccountByFMcId(Map<String, Object> map) {
        return materialCaregoryAttrValueMapper.getDeviceAccountByFMcId(map);
    }

    @Override
    public int getAccountListCount(Map<String, Object> map) {
        return materialCaregoryAttrValueMapper.getAccountListCount(map);
    }

    @Override
    public int deleteAttrValueByProductId(MaterialCaregoryAttrVaule materialCaregoryAttrVaule) {
        return materialCaregoryAttrValueMapper.deleteAttrValueByProductId(materialCaregoryAttrVaule);
    }

    @Override
    public int batchUpdateAttrValue(Map<String,List<Map<String,String>>> map) {
        return materialCaregoryAttrValueMapper.batchUpdateAttrValue(map);
    }

    @Override
    public List<Map<String, String>> superSelect(String value) {
        return materialCaregoryAttrValueMapper.superSelect(value);
    }

    @Override
    public List<Map<String, String>> selectDays(Map<String, String> map) {
        return materialCaregoryAttrValueMapper.selectDays(map);
    }
}
